import Vue from 'vue';
import App from './App.vue';
//引入路由相关文件
import router from "@/router";
//引入仓库进行注册
import store from "@/store";
//导入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//导入icon-park
Vue.use(ElementUI);
Vue.config.productionTip = false;
// 全局事件总线
Vue.prototype.$bus = new Vue();

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app');
